<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>夕阳红老汉信息有限公司</title>
    <link rel="shortcut icon" href="images/xi.ico"/>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/modalDetail.css"/>
</head>
<body>
    <!-- Jumbotron -->
    <header class="jumbotron">
        <p class="lead">用自动化构建工具增强你的工作流程！</p>
        <p><a class="btn btn-lg btn-default btn-getting-started" href="javascript:;" role="button">开始使用</a></p>
    </header>
    <div class="title-wrap">
        <div class="logo"></div>
        <div class="return"><a href="index.jsp">返回主页</a></div>
        
    </div>
    <form action="JianliServlet" method="get">
    <div class="content">
        <div class="page_1">
				<h2>
				</h2>
			</div>
         <div class="row">
                <div class="col-md-5">
                    <h4>邮箱地址：</h4>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请输入邮箱地址(@.com)" aria-describedby="sizing-addon1" id="email" name="email"/>
                    </div>
                </div>
            </div>
            
             <div class="row">
                <div class="col-md-5">
                    <h2>请输入日期：(默认今天)：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请输入日期(默认今天)" aria-describedby="sizing-addon1" id="today" name="date"/>
                    </div>
                </div>
            </div>
        
            <div class="row">
                <div class="col-md-5">
                    <h2>请选择国籍：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <select class="form-control" id="guoji" name="guoji">
                            <option value="请选择">请选择</option>
                            <option value="中国">中国</option>
                            <option value="日本">日本</option>
                            <option value="韩国">韩国</option>
                            <option value="泰国">泰国</option>
                            <option value="印度">印度</option>
                            <option value="加拿大">加拿大</option>
                            <option value="澳大利亚">澳大利亚</option>
                        </select>
                    </div>
                </div>
            </div>
            
            <div class="row">
                <div class="col-md-5">
                    <h2>身高：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请填写身高(CM)" aria-describedby="sizing-addon1" id="shengao" name="shengao"/>
                    </div>
                </div>
            </div>
            
            <div class="row">
                <div class="col-md-5">
                    <h2>年龄：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请填写年龄(实岁)" aria-describedby="sizing-addon1" id="nianling" name="nianling"/>
                    </div>
                </div>
                </div>
                
                <div class="row">
                <div class="col-md-5">
                    <h2>体重：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请填写体重(KG)" aria-describedby="sizing-addon1" id="tizhong" name="tizhong"/>
                    </div>
                </div>
                </div>
                
                <div class="row">
                <div class="col-md-5">
                    <h2>姓名：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请填写姓名(真实姓名)" aria-describedby="sizing-addon1" id="iname" name="iname"/>
                    </div>
                </div>
                </div>
                
                <div class="row">
                <div class="col-md-5">
                    <h2>请选择性别：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <div class="input-group input-group-md">
                        <input type="radio" name="sex" value="男" title="男" checked>男
                        <input type="radio" name="sex" value="女" title="女" >女
                    </div>
                </div>
                </div>
                </div>
                
                <div class="row">
                <div class="col-md-5">
                    <h2>请填写经历：</h2>
                    <div class="input-group input-group-md">
                        <span class="input-group-addon" id="sizing-addon1">*</span>
                        <input type="text" class="form-control" placeholder="请填写工作经历" aria-describedby="sizing-addon1" id="jingli" name="jingli"/>
                    </div>
                </div>
                </div>
            
            <div class="row" style="margin-top: 20px;">
                  <input type="hidden" name="op" value="add">
                  <%
				//重复提交 I. 在session范围内产生一个token的值.。
				session.setAttribute("token", System.nanoTime() + "");
				%>
				<!-- 重复提交 II 将token通过隐藏域传递给servlet -->
					<input type="hidden" name="token" value="${sessionScope.token}">
                <div class="col-md-12">
                  <button type="submit" class="btn" id="login-btn" style="float: left;">确认添加</button>
                </div>
            </div>
        </div>
        </div>
        </form>
 <div class="page_3">
            <div class="panel panel-default">
                <div class="panel-heading" style="background-color: #4e372f;color: white;">
                    <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion"
                           href="#collapseOne">
                            已添加的招聘信息
                        </a>
                    </h4>
                </div>
                <div id="collapseOne" class="panel-collapse collapse in">
                    <div class="panel-body">
                        <table class="table table-striped table-hover table-condensed">
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>岗位类别</th>
                                    <th>岗位名称</th>
                                    <th>工作地点</th>
                                    <th>岗位需求</th>
                                    <th>工作内容</th>
                                    <th>薪资待遇</th>
                                    <th>删除</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td colspan="8">无添加</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    <!--The StartLine of the modal-->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="clean">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">生成结果</h4>
                </div>
                <div class="modal-body" id="successText">

                </div>
                <div class="modal-footer">
                    <a type="button" class="btn btn-default" href="" id="enter">进入HTML</a>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <!--The EndLine of the modal-->

    <footer>
        <div style="text-align:center">
            <a  href="http://www.readboy.com/list-58-1.html">版权声明</a>©2020 夕阳红老汉信息有限公司 版权所有(<a href="http://www.miibeian.gov.cn/">粤ICP备12092216号-1</a>)<br>
            <a href="http://wljg.gdgs.gov.cn/corpsrch.aspx?key=442000000171401" target="_blank" title="企业名称：读书郎教育科技有限公司&nbsp;&nbsp;法定代表人：秦曙光&nbsp;&nbsp;标识状态：已激活&nbsp;&nbsp;" style="line-height: 35px">
                <img src="http://www.readboy.com/statics/images/gs_icon_201411260029331.png" alt="" style="display: inline-block;position: static;">粤工商备P201708002261
            </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44200002442753" style="line-height: 35px"><img src="http://www.readboy.com/statics/images/gaba.png" style="display: inline-block;position: static;"/>粤公网安备 44200002442753号</a>
        </div>
    </footer>
</body>
<script type="text/javascript">
function today(){
    var today=new Date();
    var h=today.getFullYear();
    var m=today.getMonth()+1;
    var d=today.getDate();
    return h+"-"+m+"-"+d;
}
 
document.getElementById("today").value = today();
</script>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/modalDetail.js"></script>
</html>